#ifndef _DEV_TIMER_INTERRUPT
#define _DEV_TIMER_INTERRUPT

#include "device_conf.h"

// 定时器选择设置
#ifdef STM32F10X
#include "stm32f10x.h"
//#define STM32_TIM1_INT
#define STM32_TIM2_INT
//#define STM32_TIM3_INT
//#define STM32_TIM4_INT
#endif

void tim_int_init(uint16 frequency); // 定时器中断初始化；frequency：定时器中断频率

#endif
